udev: always create device symlinks for USB disks
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 30 Oct 2022 00:43:05 +0000 (09:43 +0900)
committerAdrian Bunk <bunk@debian.org>
Sun, 25 Aug 2024 19:05:15 +0000 (22:05 +0300)
commit1f9f98ec0c75ec327a97c86413c00554df560e80
treefc1cc9e88f55974eba97fc30aabcecd6b72cb009
parent30695897593ee029d754e6082dac27d3ef5a55f8
udev: always create device symlinks for USB disks

Previously, ata_id might not be able to retrieve attributes correctly,
and properties from usb_id were used as a fallback. See issue #24921
and PR #24923. To keep backward compatibility, still we need to create
symlinks based on USB serial.

Fixes #25179.

Gbp-Pq: Name udev-always-create-device-symlinks-for-USB-disks.patch
rules.d/60-persistent-storage.rules
src/udev/udev-builtin-usb_id.c